package com.woniu.service;

import com.github.pagehelper.PageInfo;
import com.woniu.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    PageInfo<User> findAll(Integer currentPage, Integer pageSize);

    Map<String,Object> login(User user) throws Exception;
}
